package com.yujistu.integration.result;

import com.yujistu.integration.bean.UserEntity;
import com.yujistu.integration.bean.VerifyInfoEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by S3YOGA on 2015/11/9.
 */
public class LoginResult implements Serializable {

     private String token;
     private String  success;
     private String  error;
     private Data    data;
     private UserEntity user;
     private VerifyInfoEntity  verify_info;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public UserEntity getUser() {
        return user;
    }

    public void setUser(UserEntity user) {
        this.user = user;
    }

    public VerifyInfoEntity getVerify_info() {
        return verify_info;
    }

    public void setVerify_info(VerifyInfoEntity verify_info) {
        this.verify_info = verify_info;
    }

    public class Data{
        public  User user;

        public User getUser() {
            return user;
        }

        public void setUser(User user) {
            this.user = user;
        }

      public class User{
          public String customer_id;
          public String tellphone;
          public String firstname;
          public String headimageurl;

          public String getCustomer_id() {
              return customer_id;
          }

          public void setCustomer_id(String customer_id) {
              this.customer_id = customer_id;
          }

          public String getTellphone() {
              return tellphone;
          }

          public void setTellphone(String tellphone) {
              this.tellphone = tellphone;
          }

          public String getFirstname() {
              return firstname;
          }

          public void setFirstname(String firstname) {
              this.firstname = firstname;
          }

          public String getHeadimageurl() {
              return headimageurl;
          }

          public void setHeadimageurl(String headimageurl) {
              this.headimageurl = headimageurl;
          }
      }
    }
}
